<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
	<link rel="stylesheet" type="text/css" href="css/zhuce.css">
	<script src="js/zhuce.js" type="text/javascript"></script>
</head>
    
<body>
<!--	注册部分-->
<div style="margin-left: 120px;">
	<form action="登录.html" onsubmit="return chockover()">
	<div style="position: absolute;margin: 20px 420px;border: 2px solid #E5E5E5;
				width:400px;height:535px">
		<table width="100%">
			<tr>
				<td align="center"><h2><font color="red">欢迎注册</font></h2></td>
			</tr>
			<tr>
				<table align="center">
					<tr>
						<td><b>用户名:</b></td>
						<td>
							<input type="text" placeholder="请输入用户名" class="kuangsize" id="username" onblur="checkUsername()" onfocus="showTip()" onKeyUp="checkUsername()">
						</td>
					</tr>
					
					<tr>
						<td colspan="2" width="100%" height="5px">
							 <span id="span_username"></span>
						</td>
					</tr>
					
					<tr>
						<td><b>密&nbsp;&nbsp;&nbsp;码:</b></td>
						<td>
							<input type="password" placeholder="请输入密码" class="kuangsize" id="password1" onfocus="showPass()" onBlur="checkpassword1()" onKeyUp="checkpassword1()">
						</td>
					</tr>
					
					<tr>
						<td colspan="2">
							 <span id="span_password1"></span>
						</td>
					</tr>
					
					<tr>
						<td><b>确认密码:</b></td>
						<td>
							<input type="password" placeholder="请输入确认密码" class="kuangsize" id="password2" onfocus="showPass2()" onBlur="checkpassword2()" onKeyUp="checkpassword2()">
						</td>
					</tr>
					
					<tr>
						<td colspan="2">
							 <span id="span_password2"></span>
						</td>
					</tr>
					
					<tr>
						<td><b>邮&nbsp;&nbsp;&nbsp;箱:</b></td>
						<td>
							<input type="email" placeholder="请输入邮箱" class="kuangsize" id="Email" onFocus="showEmail()" onBlur="checkEmail()" onKeyUp="checkEmail()">
						</td>
					</tr>
					<tr>
						<td colspan="2">
							 <span id="span_email"></span>
						</td>
					</tr>
					
					<tr>
						
						<td><b>联系电话:</b></td>
						<td>
							<input type="tel" placeholder="请输入联系电话" class="kuangsize" id="telnumber" onFocus="showtel()" onBlur="checktel()" onKeyUp="checktel()">
						</td>
					</tr>
					
					<tr>
						<td colspan="2">
							 <span id="span_tel"></span>
						</td>
					</tr>
					
					<tr>
						<td><b>籍贯:</b></td>
						<td>
							<!--选择省份-->
							<select onchange="selectProvince()" id="province">
								<option value="-1">--请选择--</option>
								<option value="0">广东省</option>
								<option value="1">湖南省</option>
								<option value="2">福建省</option>
						   </select>
							<!--选择城市-->
		                     <select id="city"></select>
						</td>
							
					</tr>
				    <tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
					<tr>
						<td><b>验证码:</b></td>
						<td>
							<input type="text" placeholder="请输入验证码" class="kuangsize1" id="Vcode" onBlur="checkcode()" onKeyUp="checkcode()" onFocus="showcode()">
							
							<input type = "button" value="" id="code" onclick="createCode()" class="kuangsize1"/> 
							
						</td>
					</tr>
					
				    <tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
					<tr>
						
						<td colspan="2" style="border:none">
							<input type="submit" value="注&nbsp;&nbsp;&nbsp;&nbsp;册" style="width:280px;height: 40px;font-weight: bold;background-color:#C0272A;color: #FFFFFF;border: 3px solid #E5E5E5">
						</td>
					</tr>
					
				</table>
			</tr>
		</table>
		<div style="float: right;width: 400px;height: 40px;background-color: #E9E9E9;margin-top:10px" >
						<a href="登录.html" style="text-decoration-line: none;float: right;padding-top: 10px"><font color="#FE090D" size="-1">&gt;&gt;&gt;已有账号&nbsp;去登录</font></a>
		</div>
	</div>
		</form>
</div>
</body>
</html>

